package com.head.firtst.ch2.demo1;

import com.head.firtst.ch2.demo1.Observer;

/**
 * @author guohuixin
 * @date 2018/8/11
 */
public interface Subject {
    void registerObserver(Observer s);
    void removeObserver(Observer s);
    void notifyObservers();
}
